package io.chenglicun.modules.clc.service;

import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.ClcVoteOptionDTO;
import io.chenglicun.modules.clc.entity.ClcVoteOptionEntity;

import java.util.List;

/**
 * 投票选项
 *
 * @author HB 137664951@qq.com
 * @since 1.0 2023-11-24
 */
public interface ClcVoteOptionService extends CrudService<ClcVoteOptionEntity, ClcVoteOptionDTO> {

    void saveBatch(List<ClcVoteOptionDTO> voteOptionList);

    void deleteByVoteIds(Long... ids);

    List<ClcVoteOptionDTO> getListByVoteIds(List<Long> voteIds);

    List<ClcVoteOptionDTO> getListByIds(List<Long> voteOptionIds);
}